/******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
* File Name          : APP_USB.h
* Author             : MCD Application Team
* Version            : V3.3.0
* Date               : 21-March-2011
* Description        : Custom HID demo configuration file
********************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __APP_USB_H
#define __APP_USB_H


/**
  * @brief  INCLUDE FILES.
  */

/**
  * @brief GLOBALS RAM definition
  */
#ifdef   APP_USB_GLOBALS
#define  APP_USB_EXT
#else
#define  APP_USB_EXT  extern
#endif


APP_USB_EXT __IO uint8_t PrevXferComplete;

#define USBPackageSta_Invaild             ((uint8_t)0)
#define USBPackageSta_PartMsg             ((uint8_t)1)
#define USBPackageSta_LongPG              ((uint8_t)2)
#define USBPackageSta_ErorFun             ((uint8_t)3)


APP_USB_EXT void COMMUNI_HWInit_USB(void);

#endif /*__APP_USB_H*/

/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/

